//比较日期的大小
export function compare(date1,date2) {
    let dates1 = new Date(date1);
    let dates2 = new Date(date2);
    if (dates1 > dates2) {
        return true
    } else {
        return false
    }
};


